package cn.wolfcode.luowowo.controller;

import cn.wolfcode.luowowo.util.JsonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {


    @GetMapping("/test1")
    public Object test1(){
        return JsonResult.success("请求被允许");
    }

    @GetMapping("/test2")
    public Object test2(String a,String b,String c,String d){
        return JsonResult.success("验证通过...");
    }
}
